package com.sunnada.demo.log.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @program: mybatisproject2
 * @description:
 * @author: 李瑞益
 * @create: 2018-11-17 20:30
 **/
@Document(collection = "track_log_id")
@Data
public class MongoId {
    /**列名*/
    public static final String FIELD_COLLNAME = "collName";//列名
    public static final String FIELD_SEQID = "seqId";//列名

    /**主键*/
    @Id
    private String id;
    /**表名*/
    private String collName;
    /**id序列*/
    private Long seqId;
}